package com.qys.livesMall.app.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qys.livesMall.app.user.model.dto.AppBaseDTO;
import com.qys.livesMall.app.user.model.dto.sys.UserFriendEventDTO;
import com.qys.livesMall.app.user.model.entity.AppUserFriend;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.app.user.model.vo.app.AppUserConcernVO;
import com.qys.livesMall.framework.view.BaseQuery;

/**
 * <p>
 * 用户好友 服务类
 * </p>
 *
 * @author
 * @since 2023-06-08
 */
public interface AppUserFriendService extends IService<AppUserFriend> {

    /**
     * 用户好友关系新增/修改
     *
     * @param dto {@link UserFriendEventDTO}
     */
    void saveUserFriend(UserFriendEventDTO dto);

    /**
     * 查询用户好友列表
     *
     * @param baseQuery
     */
    Page<AppUserConcernVO> pageUserFriend(BaseQuery baseQuery);
}
